package com.linzm.biz.log;

import com.linzm.annotation.Component;

import java.util.concurrent.TimeUnit;

/**
 * @Date: 2023/11/9 19:23
 * @User linziming
 */
@Component
public class LogService implements ILogService {
    @Override
    public void printLog(String log) {
        System.out.println("日志打印成功 ：" + log);
        try {
            TimeUnit.SECONDS.sleep(1);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
